You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query-continue>
    <revisions rvcontinue="15928" />
  </query-continue>
  <query>
    <pages>
      <page pageid="1306" ns="0" title="Main Page">
        <revisions>
          <rev user="Jfiat" timestamp="2022-12-22T13:46:47Z" comment="/* News */" />
          <rev user="Jfiat" timestamp="2022-05-31T13:09:18Z" comment="" />
          <rev user="Alexander Kogtenkov" timestamp="2022-05-13T12:29:18Z" comment="/* Getting Started */ Updated a link to the current release changelog." />
          <rev user="Alexander Kogtenkov" timestamp="2022-05-13T12:20:02Z" comment="/* News */ Added a note about 20.11 release." />
          <rev user="Alexander Kogtenkov" timestamp="2021-01-11T14:46:06Z" comment="/* Getting Started */" />
        </revisions>
      </page>
    </pages>
  </query>
</api>